<template>
    <div class="basic-setting-content pl16 pr16">
        <!--价格设置-->
        <div class="common-form">价格设置</div>
        <div v-if="form.model.modelName === '种球'">
            <el-form-item label="种球价格: " :rules="[{ required: true, message: '种球价格' }]" prop="model.zqData.price">
                <el-input v-model="form.model.zqData.price" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="满一万价格: " :rules="[{ required: true, message: '满一万价格' }]" prop="model.productName">
                <el-input v-model="form.model.zqData.myw" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="满十万价格: " :rules="[{ required: true, message: '满十万价格' }]" prop="model.productName">
                <el-input v-model="form.model.zqData.msw" class="max-w460"></el-input>
            </el-form-item>
        </div>
        <div v-if="form.model.modelName === '种子'">
            <el-form-item label="种子价格: " :rules="[{ required: true, message: '种子价格' }]" prop="model.zqData.price">
                <el-input v-model="form.model.zzData.price" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="种子优惠价(一万):  " :rules="[{ required: true, message: '种子优惠价(一万)' }]" prop="model.productName">
                <el-input v-model="form.model.zzData.zzyhjyw" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="种子优惠价(十万): " :rules="[{ required: true, message: '种子优惠价(十万)' }]" prop="model.productName">
                <el-input v-model="form.model.zzData.zzyhjsw" class="max-w460"></el-input>
            </el-form-item>
          
        </div>
        <div v-if="form.model.modelName === '种苗'">
            <el-form-item label="种苗价格: " :rules="[{ required: true, message: '种苗价格' }]" prop="model.zqData.price">
                <el-input v-model="form.model.zmData.price" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="种苗优惠价(一万):  " :rules="[{ required: true, message: '种苗优惠价(一万)' }]" prop="model.productName">
                <el-input v-model="form.model.zmData.zmyhjyw" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="种苗优惠价(十万): " :rules="[{ required: true, message: '种苗优惠价(十万)' }]" prop="model.productName">
                <el-input v-model="form.model.zmData.zmyhjsw" class="max-w460"></el-input>
            </el-form-item>
        </div>
        <div v-if="form.model.modelName === '农资'">
            <el-form-item label="现价: " :rules="[{ required: true, message: '现价' }]" prop="model.zqData.price">
                <el-input v-model="form.model.nzData.price" class="max-w460"></el-input>
            </el-form-item>
            <el-form-item label="原价: " :rules="[{ required: true, message: '原价' }]" prop="model.productName">
                <el-input v-model="form.model.nzData.yj" class="max-w460"></el-input>
            </el-form-item>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
    inject: ["form"],
    created() { },
    methods: {

    },
};
</script>

<style></style>